package org.hxyjs.service;


import org.hxyjs.dto.DTO;
import org.hxyjs.entity.Bookskind;
import org.hxyjs.page.PageInfo;

public interface BookskindService {
    /**
     * 查询全部管理员
     * @return
     */
    public DTO<Bookskind> getAllBookskinds() throws Exception;
    /**
     * 删除管理员
     * @return
     */
    public DTO<Bookskind> deleteBookskindByBkno(String bkno) throws Exception;
    /**
     * 修改管理员
     * @return
     */
    public DTO<Bookskind> updateBookskindByBkno(Bookskind bookskind) throws Exception;
    /**
     * 增加管理员
     * @return
     */
    public DTO<Bookskind> addBookskind(Bookskind bookskind) throws Exception;
    /**
     * 分页查询图书类型
     * @return
     */
    public DTO<Bookskind> getBookskindByPage(PageInfo pageInfo) throws Exception;


    public DTO<Bookskind> selectBookskindWithbooks() throws Exception;



}
